home *** CD-ROM | disk | FTP | other *** search
- //
- // parser.js
- // firefox
- //
- // Created by Zak on 2008-06-10.
- // Copyright 2008-2009 Ant.com. All rights reserved.
- //
-
- /**
- *
- * ParserInterface
- * interface ParserInterface {
- * return an array of flv url
- * this.getFlvArray = function ()
- *
- * };
- *
- */
- var AntParser = function()
- {
- this.currentDocument = null;
-
- /**
- * Return an array of ant flv object
- */
- this.getFlvArray = function ()
- {
- throw "NotImplemented";
- }
-
- /**
- * Return current document
- * @return this.currentDocument The current document
- */
- this.getCurrentDocument = function ()
- {
- return this.currentDocument;
- }
-
- /**
- * Set current document
- * @param doc The new current document
- */
- this.setCurrentDocument = function (doc)
- {
- this.currentDocument = doc;
- }
-
- }
-
-